#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a, b, c, n=0;
	scanf("%d %d %d", &a, &b, &c);
	if (a < b) {
		n = b;
		a = b;
		a = n;
	}
	if (a < c) {
		n = c;
		c = a;
		a = n;
	}
	if (b < c) {
		n = c;
		c = b;
		b = n;
	}
	printf("%d %d %d", a, b, c);
}